home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 1 / Cream of the Crop 1.iso / PROGRAM / CUJ9207.ARJ / 1007044A < prev    next >
Text File  |  1992-06-03  |  1KB  |  45 lines

  1. /*                    Listing 2                     */
  2. /*****************************************************
  3.                 Name: SQLPPROC.H
  4.          Description: Associated Include file for
  5.                       SQL_PROC.C. Contains prototypes
  6.                       and constants.                      
  7.          Portability: Standard C or MS Windows with
  8.                       db_Vista and db_Query Librarys.
  9. *****************************************************/
  10. #if !defined ( SQL_PROC_DEFINED )
  11.  
  12.    /* Manifest Constants */
  13.    #define SQL_NAME_LEN 15
  14.    #define SQL_DESCRIPTION_LEN 63
  15.    #define SQL_COMMAND_LEN 423
  16.    #define SQL_MAX_COLUMNS 24
  17.    #if defined( _DEBUG ) && !defined( MAXERRMSGTXT )
  18.       #define MAXERRMSGTXT 80
  19.    #endif
  20.    #if !defined ( FAIL )
  21.       #define FAIL -1
  22.    #endif
  23.    #if !defined ( SUCCESS )
  24.       #define SUCCESS 0
  25.    #endif
  26.    #if !defined ( TRUE )
  27.       #define TRUE 1
  28.    #endif
  29.    #define SQL_PROC_DEFINED
  30.  
  31.    /* Prototypes for funcitons in SQL_PROC.C */
  32.    int sqlproc_del( char *Name );
  33.    int sqlproc_exec( char *Name, ... );
  34.    int sqlproc_fetch_dev( FILE *Dev );
  35.    char *sqlproc_fetch_str( void );
  36.    int sqlproc_find( char *Name );
  37.    int sqlproc_mod( char *Name, char *Description,
  38.          char *Command );
  39.    int sqlproc_retrv( char *Name,
  40.          struct sql_proc *SqlProc );
  41.    int sqlproc_store( char *Name, char *Description,
  42.          char *Command );
  43. #endif
  44. /* End of File */
  45.